package com.yzt.dynamicmodule.contacts;

import com.yzt.zhuju.mvp.BasePresenter;
import com.yzt.zhuju.mvp.Contract;

/**
 * 动态列表
 */
public interface DynamicListContacts {

    abstract class Presenter extends BasePresenter<View> {

        public abstract void delDynamic(String dynamicId);

        public abstract void dynamicLike(String dynamicId, boolean like, int position);

        public abstract void followUser(String userId, boolean follow, int position);

    }

    interface View extends Contract.IView {

        void delDynamic();

        void dynamicLike(boolean like, int position);

        void followUser(int position);
    }
}
